package com.jiayuge.server.pojo.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

/**
 * 功能: 聊天消息
 *
 * @Program: yeb
 * @Date: 2021-12-08 10:36
 * @Author Jiayu.Yang
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ChatMsg {

    //发送消息人
    private String from;
    //收消息的人
    private String to;
    //发送的消息内容
    private String content;
    //发送时间
    private LocalDate date;
    //发送人的昵称
    private String fromNickName;
}
